package com.mincko.minckotest.shared;

import java.util.List;

import javax.persistence.Id;

public class Image
{
    public @Id Long id;
    public String description;
    public String blobKey;
    public String webComponentIdentifier;
    private List<Image> imgList;
    
    public List<Image> getImgList() { return imgList; }
    public void setGroups(List<Image> imgList) { this.imgList = imgList; }
    
    public String getWebComponentIdentifier() {
		return webComponentIdentifier;
	}

	public void setWebComponentIdentifier(String webComponentIdentifier) {
		this.webComponentIdentifier = webComponentIdentifier;
	}

	public Integer getOrder() {
		return order;
	}

	public void setOrder(Integer order) {
		this.order = order;
	}

	public Integer order;

    public String getBlobKey() {
		return blobKey;
	}

	public void setBlobKey(String blobKey) {
		this.blobKey = blobKey;
	}

	public Image() {}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}
    
	 public String toString() {
	        return String.format("id:%d,order:%d, description:%s,imgList:%s", id, order, description, imgList);
	    }
}
